package com.qipa.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.qipa.entity.RequestLog;
import com.qipa.mapper.RequestLogMapper;
import com.qipa.model.RequestLogModel;
import com.qipa.service.IRequestLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * RequestLog 表数据服务层接口实现类
 *
 */
@Service
public class RequestLogServiceImpl extends BaseServiceImpl<RequestLogMapper, RequestLog> implements IRequestLogService {

	@Autowired
    private RequestLogMapper requestLogMapper;


    @Override
    public Page<RequestLogModel> getPage(Page<RequestLogModel> page, RequestLogModel params) {
        page.setRecords(requestLogMapper.getPage(page,params));
        return page;
    }


    @Override
    public List<RequestLogModel> getList(RequestLogModel params) {
        return requestLogMapper.getList(params);
    }
}